/*
 * This program is free software: you can redistribute it and/or modify it under
 * the terms of the GNU General Public License as published by the Free Software
 * Foundation, either version 3 of the License, or (at your option) any later
 * version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 * details.
 *
 * You should have received a copy of the GNU General Public License along with
 * this program. If not, see <http://www.gnu.org/licenses/>.
 */
package net.sf.l2j.gameserver.network.serverpackets;

/**
 * @author L2Fortress
 */
/*
 * format dd (ddcdcddddddddd) visual: "seed on sale"
 */
public class ShowSeedSetting extends L2GameServerPacket {
	private static final String _S__FE_1F_SHOWSEEDSETTING = "[S] FE:1F ShowSeedSetting";

	@Override
	public void runImpl() {
		// no long running
	}

	@Override
	public void writeImpl() {
		writeC(0xFE);
		writeH(0x1F);
		writeD(0); // manor id
		writeD(1); // size
		writeD(5033); // seed id
		writeD(31); // level
		writeC(1); // size (of next)?
		writeD(1871); // reward 1 id
		writeC(1); // size (of next)?
		writeD(4042); // reward 2 id
		writeD(2250); // next sale limit
		writeD(20); // count
		writeD(12); // min seed price
		writeD(200); // max seed price
		writeD(4); // today sales
		writeD(5); // today price
		writeD(6); // next sales
		writeD(7); // next price
	}

	@Override
	public String getType() {
		return _S__FE_1F_SHOWSEEDSETTING;
	}
}
